package com.smedi.ismedi.progress.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 进度报告详情入参
 *
 * @author liaojiajie
 * @date 2022/09/29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "进度报告导出入参")
public class ProgressReportExportRequest implements Serializable {
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;

    /**
     * 项目id集合
     */
    @ApiModelProperty(value = "主表id集合")
    @NotNull(message = "主表id集合不能为空")
    private List<Long> ids;

    /**
     * 月报/周报
     */
    @ApiModelProperty(value = "月报/周报（月报：1；周报：2）")
    @NotNull(message = "导出类型不能为空")
    private Integer exportType;



}
